package graphicEval;

public class Punkt {
	
	private double x;
	private double y;
	private int nodes; //anz Knoten
	
	public Punkt(int nodes, double x, double y) {
		super();
		this.nodes = nodes;
		this.x = x;
		this.y = y;
	}

	public double getX() {
		return x;
	}

	public void setX(double x) {
		this.x = x;
	}

	public double getY() {
		return y;
	}

	public void setY(double y) {
		this.y = y;
	}
	
	public void setNodes(int nodes) {
		this.nodes = nodes;
	}
	
	public int getNodes() {
		return nodes;
	}

	
	
	@Override
	public String toString() {
		String out = "";
		out += "("+ x + "|" + y + ")";
		return out;
	}
	
	
	

}
